package com.zb.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/2/18 0018
 **/
@Data
@ApiModel("菜单权限列表")
public class AuthorListVo {
    @ApiModelProperty(value = "菜单权限ID")
    private Long id;

    @ApiModelProperty(value = "类型：1-导航菜单，2-页面，3-按钮")
    private Integer type;

    @ApiModelProperty(value = "父级菜单ID")
    private Long parentId;

    @ApiModelProperty(value = "父级菜单")
    private String parent;

    @ApiModelProperty(value = "是否按钮：false-否，true-是")
    private Boolean button;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单编码")
    private String code;

    @ApiModelProperty(value = "导航路径 ")
    private String path;

    @ApiModelProperty(value = "页面组件")
    private String component;

    @ApiModelProperty(value = "是否隐藏：false-否，true-是")
    private Boolean hidden;

    @ApiModelProperty(value = "标题名称")
    private String title;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "排序，值越小，越靠前")
    private Integer sort;

    @ApiModelProperty(value = "菜单权限状态：false-启用，true-禁用")
    private Boolean status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
